package o;

import android.app.Activity;
import androidx.annotation.Nullable;
import com.huawei.appgallery.agreement.api.ui.ITermsActivityProtocol;

public class ayc extends ayb {
    private ITermsActivityProtocol ˋ;

    public ayc(axx o_axx, @Nullable ITermsActivityProtocol iTermsActivityProtocol, String str) {
        super(o_axx, str);
        this.ˋ = iTermsActivityProtocol;
    }

    public void ˎ(Activity activity) {
        ˊ(activity, this.ˋ, this.ˊ, new axt(this) {
            final /* synthetic */ ayc ˏ;

            {
                this.ˏ = r1;
            }

            public void ˏ() {
                this.ˏ.ˊ(true);
            }

            public void ॱ() {
                this.ˏ.ˊ(false);
            }
        });
    }

    private void ˊ(Activity activity, @Nullable ITermsActivityProtocol iTermsActivityProtocol, axx o_axx, axt o_axt) {
        axp.ॱ().ˋ(this.ˏ, activity, iTermsActivityProtocol, o_axx, o_axt);
    }

    public void ॱ(Activity activity) {
        axp.ॱ().ॱ(activity, this.ˏ);
    }
}
